package org.travelfusion.xmlclient.ri.xobject.misc;

import java.util.Date;

/**
 * Contains journey leg details as returned from a FindAlternativeFlights command.
 * 
 * @author Dogan Narinc (dogan.narinc@gmail.com)
 * 
 */
public class XFindAlternativeFlightsLegDetails {

  private String operatorCode;
  private String operatorName;
  private String supplier;
  private String flightNo;
  private String aircraft;

  private Date departDate;
  private Date arriveDate;

  /**
   * Constructor.
   */
  public XFindAlternativeFlightsLegDetails() {

  }

  /**
   * @return the operatorCode
   */
  public String getOperatorCode() {
    return operatorCode;
  }

  /**
   * @param operatorCode the operatorCode to set
   */
  public void setOperatorCode(String operatorCode) {
    this.operatorCode = operatorCode;
  }

  /**
   * @return the operatorName
   */
  public String getOperatorName() {
    return operatorName;
  }

  /**
   * @param operatorName the operatorName to set
   */
  public void setOperatorName(String operatorName) {
    this.operatorName = operatorName;
  }

  /**
   * @return the supplier
   */
  public String getSupplier() {
    return supplier;
  }

  /**
   * @param supplier the supplier to set
   */
  public void setSupplier(String supplier) {
    this.supplier = supplier;
  }

  /**
   * @return the flightNo
   */
  public String getFlightNo() {
    return flightNo;
  }

  /**
   * @param flightNo the flightNo to set
   */
  public void setFlightNo(String flightNo) {
    this.flightNo = flightNo;
  }

  /**
   * @return the aircraft
   */
  public String getAircraft() {
    return aircraft;
  }

  /**
   * @param aircraft the aircraft to set
   */
  public void setAircraft(String aircraft) {
    this.aircraft = aircraft;
  }

  /**
   * @return the depart
   */
  public Date getDepartDate() {
    return departDate;
  }

  /**
   * @param departDate the depart to set
   */
  public void setDepartDate(Date departDate) {
    this.departDate = departDate;
  }

  /**
   * @return the arrive
   */
  public Date getArriveDate() {
    return arriveDate;
  }

  /**
   * @param arriveDate the arrive to set
   */
  public void setArriveDate(Date arriveDate) {
    this.arriveDate = arriveDate;
  }
}
